<?xml version="1.0"
      encoding="UTF-8"
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MD5使用快记</title>
<meta name="generator" content="http://txt2tags.sf.net" />
</head>
<body>

<div class="header" id="header">
<a name='toptopSlZDRExaR' id='toptopSlZDRExaR'></a><h1>MD5使用快记</h1>
<h2>ZoomQuiet</h2>
</div>

<div class="toc" id="toc">
</div>
<div class="body" id="body">
<dl>
<dt><a href="http://a-010.cyut.edu.tw/~vote/md5.php">MD5</a></dt><dd>
  ( Message-Digest algorithm 5) 
  MD5作为一个单向混淆算法，即不易以逆向运算得到原始资料
</dd>
</dl>

<p></p>
<p>
<b>Pythonic 的使用:</b>
</p>
<pre class="brush:  shell">

Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import md5
&gt;&gt;&gt; dir(md5)
['MD5Type', '__doc__', '__name__', 'digest_size', 'md5', 'new']
&gt;&gt;&gt; md5.md5(文件)
&lt;md5.md5 object at 0x00B83800&gt;
&gt;&gt;&gt; md=md5.md5(文件)
&gt;&gt;&gt; dir(md)
['copy', 'digest', 'hexdigest', 'update']
&gt;&gt;&gt; md.hexdigest()
'50235d71d6aa33a2be8d8bfbb1e87b91'
</pre>
<p></p>
<p>
嗯哪……
</p>
<hr class="light" />
<ul>
<li>动力源自::<b><a href="http://txt2tags.sf.net">txt2tags</a></b>
</li>
<li>t2t渲染:: 2011-09-07 03:51:34
</li>
</ul>

<p>
<img align="middle" src="/pybimage/technorati-over.gif" border="0" alt=""/>
    <a href="http://www.technorati.com/tags/chinese">chinese</a>
    ,<a href="http://www.technorati.com/tags/OpenSource">OpenSource</a>
    ,<a href="http://www.technorati.com/tags/pythonic">pythonic</a>
    ,<a href="http://www.technorati.com/tags/md5">md5</a>
</p>
</div>

<!-- xhtml code generated by txt2tags 2.4 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags MD5-2006-01-24-23-23.t2t -->
</body></html>
